package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.ExcellentLevelDao;
import com.totoro.domain.ExcellentLevel;
/*
 * 优秀论文级别service
 */
@Transactional
@Service
public class ExcellentLevelService extends BaseService<ExcellentLevel, Integer>{

	private ExcellentLevelDao excellentLevelDao;
	
	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<ExcellentLevel, Integer> excellentLevelDao) {
		// TODO Auto-generated method stub
		this.baseDao = excellentLevelDao;
		this.excellentLevelDao = (ExcellentLevelDao) excellentLevelDao;
	}

}
